package com.mm.mapper;

import com.mm.bo.EmployeeSearchBo;
import com.mm.my.mapper.MyMapper;
import com.mm.vo.EmpAssVo;
import com.mm.pojo.EmployeeInfo;
import com.mm.vo.EmployeeInfoDetailsVo;
import com.mm.vo.EmployeeInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeInfoMapper extends MyMapper<EmployeeInfo> {
    /**
     * 员工信息列表查询
     *
     * @param employeeSearchBo
     * @return
     */
    List<EmployeeInfoVo> findEmployeeInfo(EmployeeSearchBo employeeSearchBo);

    /**
     * 员工信息总条数查询
     *
     * @param employeeSearchBo
     * @return
     */
    Integer findEmployeeCount(EmployeeSearchBo employeeSearchBo);

    /**
     * 员工信息详情查询
     *
     * @param empId
     * @return
     */
    EmployeeInfoDetailsVo findEmployeeInfoDetails(String empId);

    /**
     * @param empId
     * @return
     */
    List<EmpAssVo> queryEmpAss(String empId);
}